var chooseRole = function () {
    var url = sy.url({
        m: "BaseData",
        c: "RoleController",
        a: 'browser'
    });
    var opener;
    var opt = $.extend({
        title: '选择',
        cancel: true,
        height: 400,
        class: "modal-lg",
        callback: function (data) {
            $('#jqgrid_toolbar').toolbarEdit('addRowData', data);

            opener.hidden();
            // sy.opener.modal('hide');
        }
        // class: "modal-lg",//modal-lg  modal-xl modal-sm

    },
        {}
    );

    opener = sy.open(url, opt);
}